package com.wanbangee.marksystem.controller;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import com.wanbangee.marksystem.entities.MExamMarker;
import com.wanbangee.marksystem.service.imp.SettingInsertIntoMExamMarkerServiceImp;

@RestController
@RequestMapping("/InsertIntoMExam")
public class SettingInsertIntoMExamMarkerController {
	@Autowired
	private SettingInsertIntoMExamMarkerServiceImp settingInsertIntoMExamMarkerServiceImp;
	
	
	@PostMapping("/settingInsertIntoME")
	public Map<String,Object> settingInsertIntoME(MExamMarker mExamMarker){
		return  this.settingInsertIntoMExamMarkerServiceImp.InsertIntoExamMarker(mExamMarker);		
	}
}
